<?php

$currentLan = "";

$currentModule = "";

$resultSections = array();

if(@$_GET['language']){
	
	$currentLan = $_GET['language'];
}

if(@$_GET['xmlmodule']){
	
	$currentModule = $_GET['xmlmodule'];
}

if($currentModule == "no module"){
	
	$currentModule = "";
	
	$resultSections = getXMLSectionsInModule($currentLan,$currentModule);
}
else{
	
	$resultSections = getXMLSectionsInModule($currentLan,$currentModule);
}

foreach($resultSections as $valueSections){
	
	addContent("<option value='".$valueSections['x_section']."' onclick=\"onchange_triggerLanguageFilter()\">".$valueSections['x_section']."</option>");
}

?>